#include"PageLib.h"
#include"Configuration.h"
#include<iostream>

using std::cout;

int main()
{
    string path="/home/sakura/all_file/search_engine/conf/config.json";
    Config conf(Configuration::GetInstance(path));
    cout<<" config set success\n";

    map<string,string> tmp =Configuration::GetInstance()->GetConfigMap();
    cout<<" get map  success\n";
    PageLib page(tmp["PAGE_PATH"]);
    cout<<" page set success\n";
    page.create();
    cout<<" store success\n";

}
